package com.java.struts.comment.service;

import com.java.struts.comment.dao.CommentDao;
import com.java.struts.comment.eneity.FoodcommentinfoEntity;

import java.util.List;

public class CommentService {
        private CommentDao commentDao=new CommentDao();

        public List<FoodcommentinfoEntity> getComment(){
            List<FoodcommentinfoEntity> comment = commentDao.getComment();
            return comment;
        }
}
